/*
 * @Author: Sunday
 * @Date: 2020-10-09 14:50:02
 * @LastEditors: Sunday
 * @LastEditTime: 2020-10-09 14:50:02
 * @Description: file content
 */

$(function () {

	/* 帮助信息 */
	var help_txt = ' <p>左侧是效果，右侧可复制代码。</p>' +
		'<p>使用Chrome浏览器体验效果最佳。</p>';

	$('.help').click(function () {
		layer.alert(help_txt, {
			title: '使用说明',
			area: ['50%', '50%']
		})
	})
	/* 帮助信息 结束*/
	/* 左侧导航 */
	$('.left-nav .item').each(function (i, e) {
		var txt = $(e).text();
		$('.flex-mid').find('.common-panel').eq(i).find('.panel-header').text(txt)
	})
	/* 左侧导航 结束 */

	chart_line_1();
	chart_line_2();
	chart_line_3();
	chart_line_4();
	chart_line_5();
	chart_line_6();
	chart_line_7();

	chart_bar_1();
	chart_bar_2();
	chart_bar_3();
	chart_bar_4();
	chart_bar_5();
	chart_bar_6();
	chart_bar_7();
	chart_bar_8();
	chart_bar_9();
	chart_bar_10();
	chart_bar_11();
	chart_bar_12();
	chart_bar_13();
	chart_bar_14();
	chart_bar_15();
	chart_bar_16();
	chart_bar_17();
	chart_bar_18();
	chart_bar_19();
	chart_bar_20();
	chart_bar_21();
	chart_bar_22();

	chart_pie_1();
	chart_pie_2();
	chart_pie_3();
	chart_pie_4();
	chart_pie_5();
	chart_pie_6();
	chart_pie_7();
	chart_pie_8();

	chart_gauge_1();
	chart_gauge_2();
	chart_gauge_3();
	chart_gauge_4();
	chart_gauge_5();
	chart_gauge_6();

	chart_water_1();
	chart_water_2();

	chart_word_1();
	chart_word_2();

	chart_radar_1();

	chart_graph_1();

	pie_3d_1();
	pie_3d_2();

	chart_tree_1();

});